package com.ruoyi.project.system.fund.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 资金管理对象 fund
 * 
 * @author xn
 * @date 2024-10-06
 */
public class Fund extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 资金名称 */
    @Excel(name = "资金名称")
    private String name;

    /** 资金总额度 */
    @Excel(name = "资金总额度")
    private String total;

    /** 目前剩余额度 */
    @Excel(name = "目前剩余额度")
    private String residue;

    /** 持有人 */
    @Excel(name = "持有人")
    private String creditor;

    /** 经办人 */
    @Excel(name = "经办人")
    private String operator;

    /** 附件 */
    private String file;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setTotal(String total)
    {
        this.total = total;
    }

    public String getTotal()
    {
        return total;
    }
    public void setResidue(String residue)
    {
        this.residue = residue;
    }

    public String getResidue()
    {
        return residue;
    }
    public void setCreditor(String creditor)
    {
        this.creditor = creditor;
    }

    public String getCreditor()
    {
        return creditor;
    }

    public String getOperator()
    {
        return operator;
    }
    public void setFile(String file)
    {
        this.file = file;
    }

    public String getFile()
    {
        return file;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("total", getTotal())
            .append("residue", getResidue())
            .append("creditor", getCreditor())
            .append("operator", getOperator())
            .append("file", getFile())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
